package com.situ.water_BE.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.water_BE.pojo.BeOrder;
import com.situ.water_system.pojo.SyMetertype;
import com.situ.water_user.pojo.UsUser;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
public interface BeOrderService extends IService<BeOrder> {
    public List<BeOrder> queryAll(String stepName);
    public int add(BeOrder order,String orderId,int orderType,Integer sessionId);
    public int add2(BeOrder order,Integer sessionId);
    public String orderNo(String type);
    public int updateStepID(String id,Integer auditEmpID, String text, Integer stepID, Integer lastEditEmp, Date lastEditDate);
    public int updateStepID2(BeOrder beOrder,int sessionId);
    public List<Map> gjQuery(BeOrder beOrder);
    public int gjQueryCount(BeOrder beOrder);
    public Map queryId(String id);
    public int updateStepID(String id, Integer stepID, Integer lastEditEmp, Date lastEditDate,Integer pd);
    public Integer beFlowQueryId(String type,Integer buZou, int i);
    public List<SyMetertype> QuerySyMeterType();
    public SyMetertype QueryIdSyMeterType(QueryWrapper<SyMetertype> queryWrapper);
    public BeOrder queryIdBeOrder(QueryWrapper<BeOrder> queryWrapper);
    public String queryAreaId(String orNo);
    public UsUser userQueryId(QueryWrapper<UsUser> queryWrapper);
    public Map queryIdUserAndOrder(String orderNo);
    public UsUser queryUserUserNo(String userNo);
    public List<Map> queryAllBeOrderUserSQL(Map<String,Object> map);
    public int queryAllBeOrderUserSQLCount(Map<String,Object> map);
    public List<SyMetertype> queryAllSY_MeterType();
    public List<Map> limitBeOrderSQL();
}
